<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>nav_demo</title>
  <style>
    *{padding:0;margin: 0px;}
    ul{
      list-style: none;
    }
    a{text-decoration: none;}
    .container{
      width: 1200px;
      margin: 0 auto;
      background-color: #EEE;
    }
    .header{
      width: 1200px;
      overflow: hidden;
      zoom:1
    }
    .header .logo{
      background-color: blue;
      width: 200px;
      height: 80px;
      float: left;
    }
    .header .nav{
      float: right;
      overflow: hidden;
      zoom: 1;
    }
    .header .nav li{
      float: left;
      margin: 20px;
    }
    .header .nav li a{
      background-color: red;
      padding:0 20px;
      height: 80px;
      line-height: 80px;
      display: block;
      font-size: 16px;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <div class="logo"><a href="#"><img src="../../HTML/asset/1.jpg" height="80px" width="200px" alt=""></a></div>
      <ul class="nav">
        <li><a href="#">免费课程</a></li>
        <li><a href="#">职业道路</a></li>
        <li><a href="#">实战</a></li>
        <li><a href="#">元问</a></li>
      </ul>
    </div>
  </div>
</body>
</html>